Replace some "recursively expanded" make variables with "simply
expanded" variables (i.e. replace = with :=). This has no functional
impact but is more consistent and theoretically more efficient.
Change-Id: Iaf33d7c8ad48464ae0d39923515d1e7f230c95c1
# Verbose flag
ifeq (${V},0)
- Q=@
+ Q:=@
CHECKCODE_ARGS += --no-summary --terse
else
- Q=
+ Q:=
endif
export Q
include ${MAKE_HELPERS_DIRECTORY}build_macros.mk
include ${MAKE_HELPERS_DIRECTORY}build_env.mk
-PROJECT = fip_create
-OBJECTS = fip_create.o
+PROJECT := fip_create
+OBJECTS := fip_create.o
COPIED_H_FILES := uuid.h firmware_image_package.h
-CFLAGS = -Wall -Werror -pedantic -std=c99
+CFLAGS := -Wall -Werror -pedantic -std=c99
ifeq (${DEBUG},1)
CFLAGS += -g -O0 -DDEBUG
else
endif
# Only include from local directory (see comment below).
-INCLUDE_PATHS = -I.
+INCLUDE_PATHS := -I.
CC := gcc